
using System;
using System.ComponentModel.DataAnnotations;
using System.Collections.Generic;
using Abp.Domain.Entities.Auditing;
using System.Collections.ObjectModel;
using LTMCompanyName.YoyoCmsTemplate.Exam;


namespace  LTMCompanyName.YoyoCmsTemplate.Exam.Dtos
{
	/// <summary>
	/// 题库的列表DTO
	/// <see cref="Stock"/>
	/// </summary>
    public class StockEditDto
    {

        /// <summary>
        /// Id
        /// </summary>
        public long? Id { get; set; }         


        
		/// <summary>
		/// CategoryId 题库分类id
		/// </summary>
		public string CategoryId { get; set; }



		/// <summary>
		/// Title 题目
		/// </summary>
		[Required(ErrorMessage="Title不能为空")]
		public String Title { get; set; }



		/// <summary>
		/// Type 类型
		/// </summary>
		[Required(ErrorMessage="Type不能为空")]
		public string Type { get; set; }



		/// <summary>
		/// Score 分数
		/// </summary>
		[Required(ErrorMessage="Score不能为空")]
		public Double Score { get; set; }



		/// <summary>
		/// Limit 答案个数
		/// </summary>
		[Required(ErrorMessage="Limit不能为空")]
		public Int32 Limit { get; set; }



		/// <summary>
		/// Status 状态
		/// </summary>
		[Required(ErrorMessage="Status不能为空")]
		public string Status { get; set; }



		
							//// custom codes
									
							

							//// custom codes end
    }
}